#ifndef FIND_COM_HPP
#define FIND_COM_HPP
#include <QDebug>
#include <QList>
#include <QObject>
#include <QSerialPortInfo>
#include <QString>


class Find_Com : public QObject {
  Q_OBJECT
private:
  QList<QSerialPortInfo> comInfoList;

public:
  explicit Find_Com(QObject *parent = nullptr){};
  ~Find_Com() = default;
  Q_INVOKABLE void getComInfoList();
  bool emptyComInfoList();
  void printComInfoList();
signals:
  void comInfoListChanged(const QList<QString> &info);
};
#endif